<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: qinfeng
  Date: 2021/10/3
  Time: 17:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>导航栏商品</title>
</head>
<body>
<%
//    System.out.println(request.getAttribute("navProductList"));
//    System.out.println(request.getAttribute("navClassList"));
%>
<c:forEach items="${navProductList}" var="pro" varStatus="xh">

    <li>
        <a href="/mi/cart/add_cart?productId=${pro.productId}" target="_blank">
            <div class="figure-thumb">
                <img style="width: 160px; height: 110px" src="${pro.proImg}"
                     alt="">
                <div class="title">
                    ${pro.productName}
                </div>
<%--                <h1>${pro.productName}</h1>--%>
                <span class="price">${pro.productPrice}元起</span>
            </div>
        </a>
    </li>
</c:forEach>
</body>
<script>
    function productInfo(productId){
    }
</script>
</html>
